package com.ctshk.rpc.finance.req.customer;

import com.ctshk.rpc.finance.json.ClientInfoJson;
import com.ctshk.rpc.finance.json.FileJson;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.List;

/**
 * 客商期初-新增req
 */
@Data
@ApiModel(value = "CustomerDataAddReq",description = "客商期初-新增req")
public class CustomerDataAddReq implements Serializable {

    @NotNull(message = "客户信息不能为空")
    @ApiModelProperty(value = "客户信息",required = true)
    private ClientInfoJson clientInfoJson;

    @ApiModelProperty(value = "说明")
    private String remark;

    @NotNull(message = "明细列表不能为空")
    @ApiModelProperty(value = "明细列表",required = true)
    private List<CustomDataDetailReq> detailReqList;

    @NotNull(message = "附件不能为空")
    @ApiModelProperty(value = "附件",required = true)
    private List<FileJson> filesJsonList;

    @ApiModelProperty(value = "用户ID")
    private Long userId;

}
